<?php 

$config['upload_path'] = './media/';
$config['allowed_types'] = 'gif|jpg|png';
$config['max_size'] = '500';
$config['max_width'] = '2000';
$config['max_height'] = '2000';
$config['file_name'] = rand(10000000, 99999999);
